using System;

namespace Sedna.Core.Persistence
{
	/// <summary>
	/// strategy to combine several criterions (each for a separate field).
	/// the default value is usually And, which means that the result criterion is a conjunction of 
	/// all criterias
	/// </summary>
	public enum FilterCriterionAppendStrategy
	{
		/// <summary>
		/// connect fields with AND (i.e. ... where a=1 AND b=2)
		/// </summary>
		And = 1,

		/// <summary>
		/// connect fields with OR (i.e. ... where a=1 OR b=2)
		/// </summary>
		Or
	}
}
